package com.songlanyun.modules.servicegoods.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.songlanyun.common.drive.RootEntity;
import lombok.Data;

/**
 * 商家服务商品分组与服务商品之间的关系
 * 
 * @author lubo
 * @email sunlightcs@gmail.com
 * @date 2020-12-15 11:33:20
 */
@Data
@TableName("yxt_service_goods_group_relation")
public class ServiceGoodsGroupRelation extends RootEntity<Long,ServiceGoodsGroupRelation> implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId
	private Long id;
	/**
	 * 服务商品分组id
	 */
	private Long goodsGroupId;
	/**
	 * 服务商品id
	 */
	private Long serviceGoodsId;

	@Override
	public Long getIdentity() {
		return getId();
	}
}
